/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.ap.entity;


import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

import java.util.Date;

/**
 * 支出明细Entity
 * @author sld
 * @version 2017-11-30
 */
public class DetailsExpenditure extends DataEntity<DetailsExpenditure> {
	
	private static final long serialVersionUID = 1L;
	private Expenditure expenditure;		// 支出 父类
	private String name;		// 名称
	private String price;		// 单价
	private String number;		//  数量
	private String total;		// 合技
	private String pro;     //项目名称
	private String brand;//品牌
	private String type; // 型号

	public String getBrand() {
		return brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public DetailsExpenditure() {
		super();
	}

	public DetailsExpenditure(String id){
		super(id);
	}

	public DetailsExpenditure(Expenditure expenditure){
		this.expenditure = expenditure;
	}

	public Expenditure getExpenditure() {
		return expenditure;
	}

	public void setExpenditure(Expenditure expenditure) {
		this.expenditure = expenditure;
	}
	
	@ExcelField(title="名称", align=2, sort=7)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@ExcelField(title="单价", align=2, sort=8)
	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}
	
	@ExcelField(title=" 数量", align=2, sort=9)
	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}
	
	@ExcelField(title="合计", align=2, sort=10)
	public String getTotal() {
		return total;
	}

	public void setTotal(String total) {
		this.total = total;
	}
	@ExcelField(title = "项目名称",align = 2,sort = 11)

	public String getPro() {
		return pro;
	}

	public void setPro(String pro) {
		this.pro = pro;
	}
}